﻿using ThreadDemo;

Demo1 demo1 = new Demo1();
//demo1.ThreadDemo1();
//demo1.ThreadDemo2();
//demo1.UnsafeThreadDemo3();
//demo1.UnsafeThreadDemo4();
//demo1.ThreadDemo4();
//demo1.ThreadDemo5();
//demo1.ThreadDemo6();
//demo1.ThreadDemo7();
//Thread.Sleep(5000);
demo1.ThreadDemo9();
Console.WriteLine("456");

Thread.Sleep(5000);

